<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
   <script src="lib/xyz/AOP.js"></script>
    <script>
       
        
        function test(name){
            console.log("test AOP "+name);
        }
        test("hello");
        AOP.around("test",function(f){
            console.log("AOP before");
            AOP.next(f);
            console.log("AOP after");
        });
        console.log(test);
        setTimeout(function(){test("hello2")},3000);
    </script>
</body>
</html>